package kcb.util;

import java.sql.Connection;
import java.sql.DriverManager;

public class ConnectDB {
	public static Connection getDBConnect() throws Exception
	{
		String user="root";
		String password="";
		String connectStr="jdbc:mysql://localhost:3306/fzu_course";
		Connection conn = null;
		Class.forName("com.mysql.jdbc.Driver").newInstance();
		conn = DriverManager.getConnection(connectStr, user, password);
		return conn;
	}
}
